package iot.core.data.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import iot.core.data.BaseEntity;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;


@Data
@Schema(name = "Url表",description = "")
@TableName(value ="HTAction")
public class HTAction extends BaseEntity {


    @Schema(name = "代码名称",description = "")
    @Size(min =0,max = 20,message = "长度范围0-20")
    private  String  Prj_Name ="";

    @Schema(name = "CtlFullName",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  CtlFullName ="";

    @Schema(name = "Url",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  FullUrl ="";

    @Schema(name = "名称",description = "")
    @NotBlank(message = "名称不能为空")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Name ="";

    @Schema(name = "备注",description = "")
    private  String  Memo ="";

    @Schema(name = "参数类型",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  PinType ="";

    @Schema(name = "参数是否List",description = "")
    private  boolean PinIsList ;

    @Schema(name = "返回类型",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  PoutType ="";

    @Schema(name = "返回是否List",description = "")
    private  boolean PoutIsList ;

    @Schema(name = "返回是否分页",description = "")
    private  boolean PoutIsPage ;

    @Schema(name = "授权类型",description = "")
    @Size(min =0,max = 10,message = "长度范围0-10")
    private  String  AuthType ="";

    @Schema(name = "是否需要日志",description = "")
    private  boolean LogNeed ;

    @Schema(name = "日志模板",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  LogTemplete ="";

    @Schema(name = "是否记录参数",description = "")
    private  boolean LogPin ;

    @Schema(name = "是否记录输出",description = "")
    private  boolean LogPout ;

    @Schema(name = "创建日期",description = "")
    private  Date  Crt_DT ;

    @Schema(name = "修改日期",description = "")
    private  Date  Edt_DT ;



    //@TableLogic 这里不要删除标志
    @Schema(name = "删除标志",description = "")
    private  boolean  Deleted ;

}
